package com.smit.icastplus.ssdp;

/**
 * SSDP用到的常量
 */
final class SSDPConstants {
    public static final int MAX_LEN = 512;
    public static final int TIMEOUT = 2000;
    /* New line definition */
    public static final String NEWLINE = "\r\n";

    public static final String SSDP_ADDRESS = "239.255.255.250";
    public static final int SSDP_PORT = 2500;
    public static final String ICAST_FLAG = "icast+";

    public static final String MAN = "Man: \"ssdp:discover\"";
    public static final int MX = 1;

    /* Definitions of start line */
    public static final String SL_MSEARCH = "M-SEARCH * HTTP/1.1";

    /* Definitions of search targets */
    public static final String ST_SERVER_CHECK = "ST:uuid:1fd432fa-70be-11e5-9d70-feff819cdc9f";

    /* Definitions of notification sub type */
    public static final String NTS_LIMIT = "NTS:ssdp:limit";

    private SSDPConstants() {
    }

}